Carbon


AbsoluteToDuration

Header: Multiprocessing.h Carbon status: Supported

Converts time from units of type AbsoluteTime to units of type Duration.

Duration AbsoluteToDuration (
    AbsoluteTime absoluteTime
);
Parameter descriptions
absoluteTime

A value of type AbsoluteTime that you want to convert to type Duration.

function result

A value of type Duration which is the converted time.

DISCUSSION

This function is identical to the AbsoluteToDuration function found in the Driver Services Library.

Also see the function DurationToAbsolute.

VERSION NOTES

Available in the Multiprocessing Services library with version 2.0.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.6 or later.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)